package com.itheima.dao;

import com.itheima.pojo.Feedback;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface FeedbackMapper extends Mapper<Feedback> {


    /**
     * 通过userUid获取对象
     * @param userUid
     * @return
     */
    @Select("select * from t_feedback where user_uid=#{userUid}")
    List<Feedback> getFeedbackListByUserUid(@Param("userUid") String userUid);
}
